package com.kaikeba.bean;

import java.util.Date;

/**
 * @author :Administrator
 * @date :2021/10/16
 * @description : CourierBean
 */
public class Courier {
    private Integer id;
    private String name;
    private String phone;
    private String idCardNum;
    private String password;
    private Integer numberOfDispatches;
    private Date registerTime;
    private Date lastLoginTime;

    public Courier() {
    }

    public Courier(String name, String phone, String idCardNum, String password, Date registerTime) {
        this.name = name;
        this.phone = phone;
        this.idCardNum = idCardNum;
        this.password = password;
        this.registerTime = registerTime;
    }

    public Courier(Integer id, String name, String phone, String idCardNum, String password, Integer numberOfDispatches, Date registerTime, Date lastLoginTime) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.idCardNum = idCardNum;
        this.password = password;
        this.numberOfDispatches = numberOfDispatches;
        this.registerTime = registerTime;
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCardNum() {
        return idCardNum;
    }

    public void setIdCardNum(String idCardNum) {
        this.idCardNum = idCardNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getNumberOfDispatches() {
        return numberOfDispatches;
    }

    public void setNumberOfDispatches(Integer numberOfDispatches) {
        this.numberOfDispatches = numberOfDispatches;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }
}
